<template>
  <div class="contaniner">
    个人测试
    <city :city="city"></city>
    <cimg :city="city"></cimg>
  </div>
</template>

<script>
//引入城市组件测试
import City from "../components/body/City";
//引入城市下方住宿
import Cimg from "../components/body/City.img";
// 页脚组件引入
// import Bottom from "../components/footer/Footer";

export default {
  data() {
    return {
      city: []
    };
  },
  components: {
    "city": City,
    "cimg": Cimg
    // 'Bottom': Bottom
  },
  created: function() {
    // 引入 json 数据模拟后台请求
    const city = require('../tapi/city.json')
    console.log(city)
    this.city = city;
  }
};
</script>

<style lang="sass" scoped>
</style>
